Skip to main content

All Questions

Tagged with
1vote
2answers
81views

Changing every link on page, in fastest way possible

I have created a script (mediawiki gadget), which iterates over every redlink in a rendered wiki-page (that is, over every href with class new, signifying an ...
philo math's user avatar
0votes
1answer
146views

Generate HTML from input fields

I am building a small tool to generate a copy and paste HTML block, based on the user inputs. In the HTML file, I have all my inputs (select, checkbox, text inputs etc). I based myself on the JS of an ...
blogob's user avatar
2votes
1answer
309views

Javacript/jQuery animation makes text appear/disappear as if typed

On Eric Amodio's website and JS.ORG, there is a Javascript animation which makes text appear/disappear as if it is being typed. I tried to replicate something similar but far more basic on JSFiddle. ...
user avatar
3votes
0answers
48views

Displaying sections from pre-checked options

First off, not the greatest with jQuery but know enough to get by. I have a custom script for our WordPress site that ties in with a main plugin we use. I have a JSFiddle that gives the gist of what ...
ADF's user avatar
  • 31
3votes
1answer
94views

Ajax function with a callback

I have Ajax function with a callback which fetches all the Patient data however I have some perfomance issues and trying to figure out what it might be, does anyone have idea? That's my Code ...
Mike J's user avatar
1vote
1answer
533views

Loop through data layer and display dynamic content [closed]

The purpose of the pricingTest object is to grab pricing information from the dataLayer on the page and render content blocks accordingly. My goal in posting this is to hopefully receive some feedback ...
jman25's user avatar
0votes
1answer
3kviews

On form inputs focus, show div. hide div on blur for multiple inputs and hidden divs

I posted a question on Stack Overflow and got an answer that works but has a lot of duplicated code. In the future, the functionality may also require a third or more divs to be shown or hidden. The ...
user191294's user avatar
0votes
1answer
109views

Creating dynamic table rows

I would like to know how to make this faster. It's okay for 100 rows but 1k, 10k, 100k is different. ...
Munkhdelger Tumenbayar's user avatar
3votes
2answers
101views

Making the font as big as possible without overflowing each div

I made a function that makes font sizes in <div>s as big as possible without overflowing. It takes a long time to run. How do I optimize this? ...
clickbait's user avatar
1vote
0answers
2kviews

jQuery animate() and css() not performing well in firefox and internet explorer

I am making a webapp that needs a division to expand on click. (The division is loaded with content, so it was likely to not animate very well, but I increased the animation time to 1s to make it look ...
metamemelord's user avatar
-3votes
1answer
66views

Reducing multiple each statements in jquery [closed]

So according to the selected row id (from 1 to 3), it will push each value to the appropriate array. How can I reduce those each statements? for ...
csandreas1's user avatar
2votes
0answers
46views

Remove General sibling on Keyup

I am creating a search filter using jQuery and implementing Array.prototype.filter(). What I have done is that I call the ...
davecar21's user avatar
3votes
1answer
92views

Fast prototype code to hook up a webcam to the Azure Emotion API

Last week I had a 5 hours school project deadline based on the Azure Emotion API. Right now I am trying to rewrite the same code in a more clean/elegant way. I am quite new to coding so I will need ...
Vera Perrone's user avatar
1vote
2answers
77views

Filtering long lists of images

I have to filter some very long lists of images many times (thousands, even 10/15k, even much more), so performance is important. First solution: ...
fabio's user avatar
3votes
2answers
197views

Creating keyboard shortcuts for highlighting elements of given classes and toggle through them

I have written a jQuery script to create keyboard shortcuts to highlight elements of a class (given to me) and toggle through them. I have created the HTML file myself, so ids and class names are all ...
Vamshi 's user avatar

153050per page
close